
/* @group 
    Allgemein 
*/
#mainDeck,
#topBar,
#viewGroup {
    margin: 0px;
    padding: 0px;
}

#viewGroup {
    padding: 0px 0px 1px 1px;
}

#viewGroup[hideLabel=true] radio {
    min-width: 0px;
    margin: 0px 2px 0px 0px;
    padding: 2px;
}

#viewGroup[hideLabel=true] radio label {
    display: none;
}

#generalPanel #titletext {
    padding: 5px;
}

#permPanel > hbox {
    padding-top: 5px;
}

#permList {
    border: none;
}

#permList > vbox {
    padding-left: 0px;
    padding-right: 0px;
}

#permList > vbox hbox {
    -moz-box-orient: vertical;
}

#security-privacy-groupbox row {
    margin-top: 10px;
    padding-top: 10px;
}

#security-privacy-groupbox row:first-child {
    margin-top: 0px;
    padding-top: 0px;
}
/* @end */


/* @group 
    Firefox-Standard-Theme 
*/
window[aios_appDefTheme="true"] #permList,
window[aios_appDefTheme="true"] #security-privacy-groupbox row {
    border-top: 1px solid ThreedShadow;
}

window[aios_appDefTheme="true"] #security-privacy-groupbox row:first-child {
    border-top: none;
}


/* @group 
    Windows-Standard 
*/
window:-moz-system-metric(windows-default-theme)[aios_appDefTheme="true"] #permList {
    border-top: 1px solid Threedshadow;
}

window:-moz-system-metric(windows-default-theme)[aios_appDefTheme="true"] #topBar {
    border-bottom: 1px solid Threedshadow;
}

window:-moz-system-metric(windows-default-theme)[aios_appDefTheme="true"] #mainDeck {
    border-top: 1px solid ThreedHighlight;
}
/* @end */


/* @group 
    Windows XP-Standard 
*/
window[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"]:-moz-system-metric(windows-default-theme) deck,
window[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"]:-moz-system-metric(windows-default-theme) #feedListbox *,
window[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"]:-moz-system-metric(windows-default-theme) #permList {
    background-color: #EDECEF;
}
/* @end */


/* @group 
    Windows Vista-7-Standard 
*/
window[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) deck,
window[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) #feedListbox *,
window[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) #permList {
    background-color: #EEF3FA;
}
/* @end */


/* @group 
    Darwin 
*/
window[aios_appDefTheme="true"][aios_appOS="Darwin"] {
    -moz-appearance: none;
    border-top: 1px solid #484848;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"]:-moz-window-inactive {
    -moz-appearance: none;
    border-top: 1px solid #929292;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] deck:-moz-window-inactive,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #feedListbox:-moz-window-inactive *,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #permList:-moz-window-inactive {
    background-color: #E8E8E8 !important;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] deck:not(:-moz-window-inactive),
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #feedListbox:not(:-moz-window-inactive) *,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #permList:not(:-moz-window-inactive) {
    background-color: #D4DDE5 !important;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] deck {
    padding-top: 5px !important;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #topBar {
    -moz-appearance: none;
    border-left: 1px solid #c0c0c0;
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #484848;
    border-right: 1px solid #484848;
    background-color: -moz-mac-chrome-active;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #topBar:-moz-window-inactive {
    -moz-appearance: none;
    border-left: 1px solid #e1e1e1;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #929292;
    border-right: 1px solid #929292;
    background-color: -moz-mac-chrome-inactive;
}

/* View buttons */
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #viewGroup {
    margin: 1px 0px 2px 0px;
    padding: 1px;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #viewGroup radio {
    width: 35px;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #viewGroup radio, /* sonst wird das Label nicht per CSS versteckt */
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #viewGroup radio image {
    margin: 0px;
    padding: 0px;
    display: -moz-box;
    list-style-image: url("icons/topbar_darwin.png");
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #viewGroup radio image {
    margin: 7px 1px;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #generalTab {
    -moz-image-region: rect(24px, 24px, 48px, 0px)
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #mediaTab {
    -moz-image-region: rect(24px, 48px, 48px, 24px)
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #feedTab {
    -moz-image-region: rect(24px, 72px, 48px, 48px)
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #permTab {
    -moz-image-region: rect(24px, 96px, 48px, 72px)
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] #securityTab {
    -moz-image-region: rect(24px, 120px, 48px, 96px)
}


/*
	Labels zusätzlich zur JS-Lösung (aios_sidebarLayout() in pageinfo.js) unsichtbar machen, 
	da diese erst beim zweiten Laden des Panels funktioniert, JS-Lösung wegen Dritt-Erweiterungen trotzdem notwendig
*/
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #generalTab label,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #mediaTab label,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #feedTab label,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #permTab label,
window[aios_appDefTheme="true"][aios_appOS="Darwin"] #securityTab label {
    display: none;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] radio:not([selected="true"]):hover image {
    opacity: 1;
}

window[aios_appDefTheme="true"][aios_appOS="Darwin"] radio:not([selected="true"]) image {
    opacity: 0.5;
}
/* @end */


/* @group 
    Linux 
*/
window[aios_appDefTheme="true"][aios_appOS="Linux"] #topBar {
    padding-top: 1px;
}
/* @end */
/* @end */
